//
//  ZWFoundViewController.swift
//  weiboXue
//
//  Created by xue-iOS-work on 16/8/29.
//  Copyright © 2016年 iOS-work. All rights reserved.
//

import UIKit

class ZWFoundViewController: ZWVisitorController {

    
    override func viewDidLoad() {
        super.viewDidLoad()

        if userLogin==false {
            visitorView.setupinfo(imageName: #imageLiteral(resourceName: "visitordiscover_image_message"), titleName: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            return
        }
        //初始化
        setupUI()
    }
    // 初始化UI
    func setupUI() -> Void {
        let searchView = ZWFoundSearchView.searchView()
        searchView.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 30)
        navigationItem.titleView = searchView
    }

}
